package com.qf.mybatis01.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data //会为当前实体类自动生成 setter，getter，和ToString
@AllArgsConstructor //为当前实体类生成一个全参的构造函数
@NoArgsConstructor //为当前实体类生成一个无参的构造函数
public class User {
  private Integer id;
 private String name;
    private String password;
    private String sex;
    private Date birthday;
    private Date registTime;
    private String auth;
}
